<template>
	<view class="container">
		<!-- 引导页 -->
		<!-- <view class="intro">本项目已包含uni ui组件，无需import和注册，可直接使用。在代码区键入字母u，即可通过代码助手列出所有可用组件。光标置于组件名称处按F1，即可查看组件文档。</view>
		<text class="intro">详见：</text>
		<uni-link :href="href" :text="href"></uni-link> -->
		<swiper :indicator-dots="true" :autoplay="false" :acceleration="false">
			<swiper-item>
				<view class="swiper-item">a</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item">b</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item">c</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item">d</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item">
					<image src="https://img1.baidu.com/it/u=3174908566,2442660530&fm=26&fmt=auto" style="position: absolute;top: 0;z-index: -1;width: 100%;height: 100%;" mode=""></image>
					<view class="index_page">
						<view class="index5-top" style="display: flex;align-items: center;justify-content: space-between;box-sizing: border-box;">
							<view class=""style="color: #FFFFFF;">
								网络设置
							</view>
							<view class="" style="width: 100rpx;height: 60rpx;text-align: center;border: #FFFFFF 2rpx solid;color: #FFFFFF;line-height: 60rpx;border-radius: 20rpx;">
								跳过
							</view>
						</view>
						<view class=""style="position: absolute;bottom:180rpx;width: 100%;height: 60rpx;line-height: 60rpx;right: 0px;">
							<view class="" style="width: 300rpx;height: 60rpx;line-height: 60rpx;margin: auto;text-align: center;color: #FFFFFF;border-radius: 20rpx;background-color: #06d3d6;" @click="tohome">
								点击进入使用
							</view>
						</view>
						
					</view>
				</view>
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				href: 'https://uniapp.dcloud.io/component/README?id=uniui'
			}
		},
		methods: {
			tohome(){
				console.log("asd");
				uni.switchTab({
					url:'../home/home'
				})
			}
		}
	}
</script>

<style>
	.container {
		box-sizing: border-box;
	}
	swiper{	
		width: 375px;
		height:667px;
	}
	
	.index_page{
		padding: 40px;
	}
</style>
